package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IJoinActionActivityModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.resp.GuessingAndAwardOrderEntity;

import java.util.List;

public class JoinActionActivityModel implements IJoinActionActivityModel {

    private NetService netService;

    public JoinActionActivityModel(NetService netService) {
        this.netService = netService;
    }

    @Override
    public void joinActivityList(Integer drawAllType, Integer pageIndex, Integer pageSize, HttpResultSubscriber<List<GuessingAndAwardOrderEntity>> subscriber) {
        netService.joinActivityList(drawAllType, pageIndex, pageSize, subscriber);
    }
}
